package com.gs.disk.service.admin;

import com.gs.entity.UserEntity;

/**
 * @title: 孙杨申
 * @date 2021/12/4 20:38
 */

public interface LoginService {

    /**
     * 根据用户名查找用户
     * @param userName
     * @return
     */
    UserEntity getByName(String userName);

    UserEntity getById(Integer id);

}
